﻿@model sorochinska_kl.Models.SkillDevPlan

@{
    ViewBag.Title = "Edit";
}

<h2>Edit</h2>

@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>SkillDevPlan</legend>

        @Html.HiddenFor(model => model.SkillDevPlanID)

        <div class="editor-label">
            @Html.LabelFor(model => model.AssessmentID, "Assessment")
        </div>
        <div class="editor-field">
            @Html.DropDownList("AssessmentID", String.Empty)
            @Html.ValidationMessageFor(model => model.AssessmentID)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.SkillLevelID, "SkillLevel")
        </div>
        <div class="editor-field">
            @Html.DropDownList("SkillLevelID", String.Empty)
            @Html.ValidationMessageFor(model => model.SkillLevelID)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.DevWay)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.DevWay)
            @Html.ValidationMessageFor(model => model.DevWay)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ActionsToTake)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ActionsToTake)
            @Html.ValidationMessageFor(model => model.ActionsToTake)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.DueDate)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.DueDate)
            @Html.ValidationMessageFor(model => model.DueDate)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.StatusID, "Status")
        </div>
        <div class="editor-field">
            @Html.DropDownList("StatusID", String.Empty)
            @Html.ValidationMessageFor(model => model.StatusID)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.MngComments)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.MngComments)
            @Html.ValidationMessageFor(model => model.MngComments)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ApprovedByMng)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ApprovedByMng)
            @Html.ValidationMessageFor(model => model.ApprovedByMng)
        </div>

        <p>
            <input type="submit" value="Save" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
